/*
 * @description: 
 * @Author: Islands
 * @Date: 2023-12-06 13:38:11
 * @LastEditTime: 2024-03-26 14:15:25
 */

//国际化常量
export const LanguageConstant = [
    { label: '中文简体', value: 'zh',icon:'#icon-zhongwen' },
    { label: '中文繁体', value: 'tw',icon:'#icon-a-yuyanfanti' },
    { label: 'English', value: 'en',icon:'#icon-yingwen' }
]


/**
 * 主题
 * @param _i18n 
 * @returns 
 */
export const  themeConstant= (_i18n: any) => {
    return [
        { label: '默认主题', value: 'light' },
        { label: '暗黑主题', value: 'dark' },
    ]
}

/**
 * 动画
 * 补充 -> https://animate.style
 * @param _i18n 
 * @returns 
 */
export const animatesConstant = (_i18n: any) => {
    return [
        { label: '反弹', value: 'animate__bounce' },
        { label: '闪光', value: 'animate__flash' },
        { label: '脉搏', value: 'animate__pulse' },
        { label: '橡皮筋', value: 'animate__rubberBand' },
        { label: '摇动X', value: 'animate__shakeX' },
        { label: '摇动Y', value: 'animate__shakeY' },
        { label: '摇头', value: 'animate__headShake' },
        { label: '摆动', value: 'animate__swing' },
        { label: '晃动', value: 'animate__wobble' },
        { label: '果冻', value: 'animate__jello' },
        { label: '心跳', value: 'animate__heartBeat' },
        { label: '后退向下', value: 'animate__backInDown' },
        { label: '后退到左侧', value: 'animate__backInLeft' },
        { label: '后退向右', value: 'backInRight' },
        { label: '后退到上', value: 'backInUp' },
        { label:'淡出',value:'fadeOut'}
    ]
}